home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
util2
/
fiflb381.rea
< prev
next >
Wrap
Text File
|
1996-02-22
|
2KB
|
41 lines
Short: FIFO library and handler v38.1
Author: M. Dillon, D. Varley, H. Verkuil, finally Joerg.Hoehle@gmd.de (Jörg Höhle)
Uploader: Joerg.Hoehle@gmd.de
Type: util/misc
Requires: OS 1.x or better
Replaces: fifo-38.0-src.lha, fifo-38.0-bin.lha, fifolib37_5.lha, utils/misc/fifolib374.lzh, util/boot/FifoDev.lha
This is an enhancement to fifolib-37.4/37.5/38.0, an implementation of
a FIFO or pipe by Matthew Dillon.
I decided to modify FIFO: (just fifo-handler, not the library) because
I was sick of the Enforcer-hits occurring when using ls-4.7ljr inside a
GNUEmacs shell buffer. This work merges and enhances fifolib_37.4,
37.5 and 38.0.
Changes:
o safe handling of ACTION_SCREEN_MODE.
o ACTION_SCREEN_MODE only allowed if opened with 's' (shell). It
doesn't make sense otherwise as the packet does not include the
file handle.
o ACTION_WAIT_CHAR adapted and corrected from 37.5 and 38.0,
supports real timeouts.
o recognizes "CONSOLE:"
o safe handling of low memory once FIFO is initialized.
o new ACTION_CHANGE_SIGNAL, ACTION_IS_FILESYSTEM.
o correct result for the unimplemented ACTION_SEEK.
o more error return codes (WRITE_PROTECTED, BAD_STREAM_NAME, NO_MEM ...)
Incompatible change:
o ACTION_SCREEN_MODE is refused if FIFO: not opened in cooked
mode. (Was not refused, but buggy in the original handler). The
rationale is that programs which open FIFO: in shell but not in
cooked mode have good reasons to do so (remcli, Emacs), whereas
shell programs may always switch to cooked mode at program exit,
thus starting cooked mode inadvertently.
TODO
o safe handling of initialization w.r.t. low memory.
o? use 2.0 functions.
o sent EOF once only, like CON: does.